amd: remove VIRT_SC_MSR_HVM synthetic feature
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 15 Nov 2022 13:26:56 +0000 (14:26 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Nov 2022 00:18:42 +0000 (00:18 +0000)
commite6440e2a72776149bacf3ab72c6453f5b72dea5f
treeba4c88918cf77015b9a134f1be9c3b4adade5a19
parentb2030e6730a2b727dbfa7ecc5b9f1deb5f50d3fb
amd: remove VIRT_SC_MSR_HVM synthetic feature

With the previous bugfix, X86_FEATURE_VIRT_SC_MSR_HVM is no longer
needed and can be replaced with an __initdata variable.  This also
leaves asm/cpufeatures.h as it was in 4.16 which will simplify
backports.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
Rewrite commit message.  Move amd_virt_spec_ctrl into __initdata.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpuid.c
xen/arch/x86/include/asm/amd.h
xen/arch/x86/include/asm/cpufeatures.h
xen/arch/x86/spec_ctrl.c